package com.ftg.learn.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @author 布衣
 */
@Data
@ApiModel("员工实体类")
public class EmployeeEntity {

    @ApiModelProperty("员工编号")
    private int eid;

    @ApiModelProperty("员工姓名")
    private String ename;

    @ApiModelProperty("员工性别")
    private String sex;

    @ApiModelProperty("员工学历")
    private String edu;

    @ApiModelProperty("员工入职时间")
    private LocalDate employed;

    @ApiModelProperty("出生日期")
    private LocalDate birthday;

    @ApiModelProperty("员工薪资")
    private BigDecimal salary;

}
